import Vue from 'vue'
import Router from 'vue-router'
import HomePage from '../views/HomePage.vue'
import Register from '../views/Register.vue'
import PasgPage from '../views/PasgPage.vue'
import AdminPage from '../views/AdminPage.vue'
import UserPage from '../views/UserPage.vue'
import DeptMageCl from '../views/DeptMageCl.vue'
import InductionCl from '../views/InductionCl.vue'
import StationCl from '../views/StationCl.vue'
import ReportmaCl from '../views/ReportmaCl.vue'
Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'HomePage',
      component: HomePage
    },
    {
      path: '/Register',
      name: '注册页面',
      component: Register
    },
    {
      path: '/PasgPage',
      name: '游客访问页面',
      component: PasgPage
    },
    {
      path: '/AdminPage',
      name: '管理员访问页面',
      component: AdminPage
    },
    {
      path: '/UserPage',
      name: '用户访问页面',
      component: UserPage,
    },
    {
      path:'/DeptMageCl',
      name:'部门管理',
      component: DeptMageCl
    },
    {
      path:'/StationCl',
      name:'岗位管理',
      component: StationCl
    },
    {
      path:'/InductionCl',
      name:'入职管理',
      component: InductionCl
    },
    {
      path:'/ReportmaCl',
      name:'报表管理',
      component: ReportmaCl
    }
  ]
})
